<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SOC 安全事件研判系统</title>
    <link rel="stylesheet" href="/static/style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
    <div class="container">
        <header class="header">
            <h1>SOC 安全事件研判系统</h1>
            <p>基于AI驱动的威胁分析与误报识别</p>
        </header>

        <main class="main-content">
            <section class="input-section card">
                <h2>输入原始告警数据</h2>
                <textarea id="alertInput" placeholder="请粘贴原始安全告警的JSON数据..." rows="15"></textarea>
                <button id="analyzeBtn" class="btn btn-primary">
                    <span class="icon"><i class="fas fa-play"></i></span>
                    开始分析
                </button>
            </section>

            <section class="analysis-section card">
                <h2>分析流程与结果</h2>
                <div class="analysis-steps" id="analysisSteps">
                    <!-- 步骤将在这里动态生成 -->
                    <div class="step-item loading-placeholder">
                        <div class="step-header">
                            <div class="step-icon"><i class="fas fa-spinner fa-spin"></i></div>
                            <div class="step-title">等待分析开始...</div>
                        </div>
                        <div class="step-content">
                            <p>请在左侧输入告警数据并点击“开始分析”按钮。</p>
                        </div>
                    </div>
                </div>
            </section>
        </main>

        <footer class="footer">
            <p>&copy; 2025 SOC AI Analysis. All rights reserved.</p>
        </footer>
    </div>

    <script src="/static/script.js"></script>
</body>
</html>
